#!/usr/bin/env python

"""
*****************************************************************
contacts.py
This file is part of s60console project.

Released under GNU GPLv2.
See accompanying gpl-2.0.txt file
or visit http://www.gnu.org/licenses/gpl-2.0.txt

Author: Kashif Iftikhar (kashif [at] compulife.com.pk)

Description:
------------
Contains the contacts class and other contact related functions.

*****************************************************************
"""
contacts = {'Irum': {'mobile': '03437158780'},
            'Sumer': {'mobile': '03149883896'},
            'Diya': {'mobile': '03465962123'},
            'Amber': {'mobile': '03336460819'},
            'Fasiha': {'mobile': '03333713260'}
           }

class Contacts:
    "Contacts class to hold mobile contacts"
    pass

class Contact:
    "Contact class to hold a single contact"
    
    def __init__(self, contact_info):
        self.name = ''
        if 'name' in contact_info:
            self.name = contact_info['name']
        
        if 'mobile' in contact_info:
            self.mobile = contact_info['mobile']
    
def _tests():
    "Test cases for the module"
    pass

if __name__ == '__main__':
    import sys
    if len(sys.argv)>1 and 'run_tests'==sys.argv[1]:
        _tests()
    